package com.seven.ssa.constant;


public interface RedisConstant {
    /**
     * P1：拼接完整key的方法
     * @param year
     * @param userId
     * @return
     */
    static String getUserSignInRedisKey(int year, long userId) {
        return String.format("%s:%s:%s", "user:signins", year, userId);
    }
}
